package net.zjitc.service;

import net.zjitc.pojo.Orders;
import net.zjitc.pojo.User;
import net.zjitc.vo.OrderConditionVo;

import java.util.List;

/**
 * @AUTHOR zhj
 * @DATE 2019/3/31 13:30
 */
public interface OrderService {
    List<Orders> findAll();
    Orders findByOid(String id);

    List<Orders> findByCondition(OrderConditionVo vo);

    Orders findOrderDeatils(String id);

    List<Orders> findOrdersByUid(Integer id);

    int createOrder(Orders orders,User user);

    int updatePayState(String out_trade_no,Integer state);
}
